package mydb

import (
	"jgt-wallet/src/service/db"

	"github.com/facebookgo/inject"
)

// RegisterMySQL 注册MYSQL存储
func RegisterMySQL(g *inject.Graph, db *db.DB) {
	new(LogManage).Init(g, db)

	err := db.CreateTablesIfNotExists()
	if err != nil {
		panic(err)
	}
}
